package com.aj.checkserver.controller;

import com.aj.checkserver.domain.ApiResult;
import com.aj.checkserver.domain.HostNmaeVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

import static com.aj.checkserver.util.HostUtil.hostNmaeVos;

@RestController
@RequestMapping
public class CheckController {


    @GetMapping("/find")
    public Object getHostNames(){

        return hostNmaeVos;
    }
}
